<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>资源管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" th:href="@{/layuiadmin/layui/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/layuiadmin/style/admin.css}" media="all">
    <style>
        /** 箭头未展开 */
        #resource-tree-table + .treeTable .treeTable-icon .layui-icon-triangle-d:before {
            content: "\e602";
        }

        /** 箭头展开 */
        #resource-tree-table + .treeTable .treeTable-icon.open .layui-icon-triangle-d:before {
            content: "\e61a";
        }

        /** 文件图标 */
        #resource-tree-table + .treeTable .treeTable-icon .layui-icon-file:before {
            content: "\e60d";
        }

        /** 文件夹未展开 */
        #resource-tree-table + .treeTable .treeTable-icon .layui-icon-layer:before {
            content: "\e637";
        }

        /** 文件夹展开 */
        #resource-tree-table + .treeTable .treeTable-icon.open .layui-icon-layer:before {
            content: "\e638";
        }
    </style>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <table id="resource-tree-table" class="layui-table" lay-filter="resource-tree-table"></table>
            <script type="text/html" id="resource-toolbar">
                <div class="layui-btn-container">
                    <button class="layui-btn layui-btn-sm" lay-event="expand">全部展开</button>
                    <button class="layui-btn layui-btn-sm" lay-event="fold">全部折叠</button>
                    <button class="layui-btn layui-btn-sm" lay-event="refresh">刷新表格</button>
                </div>
            </script>
        </div>
    </div>
</div>


<script th:src="@{/layuiadmin/layui/layui.js}" charset="utf-8"></script>
<script>
layui.config({
  base: '/layuiadmin/'
}).extend({
    resourceList: 'res/js/modules/resource/resourceList'
}).use('resourceList',{})
</script>
</body>
</html>